home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / gateway7.doc < prev    next >
Text File  |  1995-03-31  |  6KB  |  164 lines

  1. (Comp.sources.hp48) 
  2. Item: 77 by erikmb@etek.chalmers.se 
  3. Author: [Erik Bryntse] 
  4.   Subj: Gateway codelock program v2.8 (beta) 
  5.   Date: Sun Mar 08 1992 
  6.  
  7. [Note: This is an upgrade from GATEWAY.LIB version 2.7 that was on 
  8.  Goodies Disk #3.  Also see CODELOCK.LIB on this disk.  -jkh-] 
  9.  
  10. Finally, a new version of the Gateway codelock program is 
  11. finished. The problems that people reported with v2.7 were 
  12. mainly: 
  13.  
  14. 1) Gateway crashed when you have a null-named object in the 
  15. current path. 
  16.  
  17. 2) Gateway did not work OK with alarms that adjust the clock. 
  18.  
  19. 3) The copyright message is displayed every time I turn my 
  20. calculator on. 
  21.  
  22. 4) It is difficult to know when one can press the first key of the 
  23. code, and sometimes the first key is lost. 
  24.  
  25. I have fixed these problems in version 2.8, and I now release a 
  26. beta version, for final testing. If you are not afraid of a memory 
  27. lost, try it! 
  28.  
  29. If it works OK, please let me know! 
  30.  
  31. If you have problems with it, please send me a description of 
  32. what problems you have and when they occur. Also tell me your 
  33. calculator version and what programs you have that may cause 
  34. conflicts. Thanks! 
  35.  
  36. Erik. 
  37.  
  38.  
  39. GATEWAY-48 Codelock Program ver 2.8 (beta) 
  40. ========================================== 
  41.  
  42. GATEWAY-48 is a codelock program for your HP48SX. When your HP48SX 
  43. is turned on, it displays a startup message (for example your name 
  44. and phone number) and prompts you for a 4-digit code. If you key 
  45. in the correct code, your 48 is turned on just like usual. Other- 
  46. wise it is turned off again. 
  47.  
  48. With GATEWAY-48 you have complete software security and enough 
  49. hardware security to keep people from messing with your calcu- 
  50. lator. If you know how, you CAN get in without knowing the right 
  51. code, but the memory will be cleared in the process. All normal 
  52. stuff such as ON-C and ON-A-F will not work. 
  53.  
  54. A lot of work has been spent on the user interface and ruggedness 
  55. of GATEWAY-48. This means that 
  56.  
  57. ─ You can easily change the password. 
  58. ─ There is a built-in program to redefine the OFF key. 
  59. ─ You can provide a startup message like "Owned by XXYY". 
  60. ─ All is contained in one library, which cannot be modified. 
  61. ─ The code cannot be accidentally changed, since it is stored with 
  62.   a checksum. 
  63. ─ Alarms can be disabled when the codelock is enabled (ie the 48 
  64.   is turned off). They will execute as soon as the 48 is turned 
  65.   back on. 
  66. ─ If alarms are allowed to execute when the codelock is enabled, 
  67.   the calculator is turned off again after the alarm is finished. 
  68. ─ There is a built-in program to remove GATEWAY-48 from your 48. 
  69.  
  70.  
  71. INSTRUCTIONS 
  72. ============ 
  73. If you have something you do not wish to lose in your calculator, 
  74. make a backup, just in case... Also remove any old versions of 
  75. Gateway that you might have. 
  76.  
  77. Download the library into your 48.  Store the library with 0 STO. 
  78. Turn off your 48, then on again. You will see a short message when 
  79. the library installs. 
  80.  
  81. Now press the LIBRARY menu key. There will now be a menu named 
  82. GATEWAY-48. In this menu you will find the following programs: 
  83.  
  84. ASSIGN 
  85. ------ 
  86. Assigns the off key to the new off program OFFC. Turns on USER 
  87. mode. 
  88.  
  89. NEWCODE 
  90. ------- 
  91. Enables you to enter or change the code. Run this after installing 
  92. GATEWAY-48. The first time you run it, it will only prompt you for 
  93. the new code, but normally you must key in the old code as well. 
  94.  
  95. REMOVE 
  96. ------ 
  97. Uninstalls the GATEWAY-48 library and clears key definitions. Also 
  98. removes the hidden code. 
  99.  
  100. OFFC 
  101. ---- 
  102. The main code program. Turns off your 48 enabling the codelock. 
  103. When you turn it back on, you have to key in a four-digit code to 
  104. gain access to your 48. Note that it will not work if you haven't 
  105. selected a code using NEWCODE. 
  106.  
  107. OWN 
  108. --- 
  109. If you press this key with a string in level 1, this string will 
  110. be displayed when the calculator is turned on. If the argument is 
  111. an empty string (""), the default message will be displayed. 
  112.  
  113. ALARM 
  114. ----- 
  115. Toggles the setting of the Gateway alarm flag. If alarms are 
  116. disabled, then no alarms will be allowed to run while the 
  117. calculator is turned off. They will instead execute when the 
  118. calculator is turned on again. If alarms are enabled, they will 
  119. execute, but the 48 will be turned off immediately afterwards. 
  120. Note that this flag has no effect when the calculator is on! 
  121.  
  122.  
  123. ADDITIONAL INFORMATION 
  124. ====================== 
  125.  
  126. The codelock is not activated when the HP48 turns itself off to 
  127. preserve battery. 
  128.  
  129. The OFFC user key assignment is sometimes cleared by other pro- 
  130. grams or actions. Pressing the USR key once or twice (depending on 
  131. the state of flag -61) or running the ASSIGN program will restore 
  132. it.  
  133.  
  134. If you use an alarm that adjusts the clock (to keep the clock 
  135. accurate) you should disable alarms with the ALARM key, otherwise 
  136. you will get unpredictable results. 
  137.  
  138. The Gateway library has ID number 873.  [Note: this is the same as 
  139. the ID of the CODELOCK library, also on this disk.  Do not have 
  140. both libraries in memory at the same time!  -jkh-] 
  141.  
  142. I will not provide source code. 
  143.  
  144. ---------------------------------------------------------------- 
  145. GATEWAY-48 is Copyright Erik Bryntse 1991, 1992. Non-commercial 
  146. distribution permitted. Use this program at your own risk! 
  147. ---------------------------------------------------------------- 
  148.  
  149. This program has been tested by people with different calculator 
  150. versions and different software and hardware. Much work have been 
  151. spent on this. Thank you all who have helped me with this! 
  152.  
  153.  
  154. Please send bug reports, questions, or suggestions to 
  155.  
  156. Erik Bryntse 
  157. SHPRF (the HP User Club of Sweden) 
  158. Box 15061 
  159. S-700 15  OREBRO 
  160. SWEDEN 
  161.  
  162. erikmb@cd.chalmers.se 
  163. erikmb@etek.chalmers.se 
  164.